import request from "@/utils/request.js"
// 提问热点列表
export function schoolHotOne(data) {
	return request.Request({
		url: '/kwkd/QaQuestion/public/hotQuery',
		method: 'POST',
		data
	});
}

// 公共查询-学校
export function common_query_school(data) {
	return request.Request({
		url: '/base/t-base-school/querySchool',
		method: 'POST',
		data
	});
}


// 问答推荐（校友圈首页的列表）
export function schoolHot(data) {
	return request.Request({
		url: '/kwkd/recommend/public/recommendQuestionAnswer',
		method: 'POST',
		data
	});
}
// 选择最佳回答（若有赏金支付则不需要再调此接口、否则调用此接口）
export function bestAnswer(data) {
	return request.Request({
		url: '/kwkd/QaQuestion/bestAnswerChoose',
		method: 'PUT',
		data
	});
}
// 热点列表（滑屏）
export function hotMoreList(data) {
	return request.Request({
		url: '/kwkd/QaQuestion/public/moreHotQuery',
		method: 'POST',
		data
	});
}
// 热点列表（滑屏）下的回答列表
export function answerAboutHot(data) {
	return request.Request({
		url: '/kwkd/QaAnswer/public/moreHotQuery',
		method: 'POST',
		data
	});
}

// 热点滑屏的收藏、稍后回答问题(创建、取消) 
export function operAboutHot(data) {
	return request.Request({
		url: '/kwkd/collection/addOrCancelMyCollection',
		method: 'POST',
		data
	});
}
// 不感兴趣
export function dislikeHot(data) {
	return request.Request({
		url: '/kwkd/QaQuestion/dislike',
		method: 'POST',
		data
	});
}
// 小组列表
export function groupList(data) {
	return request.Request({
		url: '/kwkd/team/public/query',
		method: 'POST',
		data
	});
}
// 活动列表
export function activityList(data) {
	return request.Request({
		url: '/kwkd/teamActivity/public/teamActivityPage',
		method: 'POST',
		data
	});
}
// 问答明星
export function quesStar(data) {
	return request.Request({
		url: '/kwkd/qaStar/public/indexQaStars',
		method: 'POST',
		data
	});
}
// 问答明星-更多
export function quesMoreStar(data) {
	return request.Request({
		url: '/kwkd/qaStar/public/moreQaStars',
		method: 'POST',
		data
	});
}
// qq群列表
export function allQQList(data) {
	return request.Request({
		url: '/kwkd/userGroup/queryByName',
		method: 'POST',
		data
	});
}


// 智慧调剂   往年调剂情况
export function getAdjustYearInfo(data) {
	return request.Request({
		url: '/data-core/major/getAdjustYearInfo',
		method: 'POST',
		data
	});
}

// 智慧调剂   往年调剂名单
export function getAdjustSourceList(data) {
	return request.Request({
		url: '/data-core/major/getAdjustSourceList',
		method: 'POST',
		data
	});
}

// 智慧调剂   调剂去向接口
export function getAdjustGoList(data) {
	return request.Request({
		url: '/data-core/major/getAdjustGoList',
		method: 'POST',
		data
	});
}